// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeDBInstanceAttributeResponse.h"

namespace aliyun { namespace Rds {

DescribeDBInstanceAttributeResponse::DescribeDBInstanceAttributeResponse() {
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::ReadOnlyDBInstanceId::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const std::vector<DescribeDBInstanceAttributeResponse::DBInstanceAttribute::ReadOnlyDBInstanceId>& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetReadOnlyDBInstanceIds(void) const {
  return ReadOnlyDBInstanceIds_;
}

int DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetInsId(void) const {
  return InsId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetPayType(void) const {
  return PayType_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceClassType(void) const {
  return DBInstanceClassType_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceType(void) const {
  return DBInstanceType_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetConnectionString(void) const {
  return ConnectionString_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetPort(void) const {
  return Port_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetEngine(void) const {
  return Engine_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetEngineVersion(void) const {
  return EngineVersion_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceClass(void) const {
  return DBInstanceClass_;
}

int64 DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceMemory(void) const {
  return DBInstanceMemory_;
}

int DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceStorage(void) const {
  return DBInstanceStorage_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceNetType(void) const {
  return DBInstanceNetType_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceStatus(void) const {
  return DBInstanceStatus_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBInstanceDescription(void) const {
  return DBInstanceDescription_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetLockMode(void) const {
  return LockMode_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetLockReason(void) const {
  return LockReason_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetReadDelayTime(void) const {
  return ReadDelayTime_;
}

int DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetDBMaxQuantity(void) const {
  return DBMaxQuantity_;
}

int DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetAccountMaxQuantity(void) const {
  return AccountMaxQuantity_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetCreationTime(void) const {
  return CreationTime_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetExpireTime(void) const {
  return ExpireTime_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetMaintainTime(void) const {
  return MaintainTime_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetAvailabilityValue(void) const {
  return AvailabilityValue_;
}

int DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetMaxIOPS(void) const {
  return MaxIOPS_;
}

int DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetMaxConnections(void) const {
  return MaxConnections_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetMasterInstanceId(void) const {
  return MasterInstanceId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetIncrementSourceDBInstanceId(void) const {
  return IncrementSourceDBInstanceId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetGuardDBInstanceId(void) const {
  return GuardDBInstanceId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetTempDBInstanceId(void) const {
  return TempDBInstanceId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetSecurityIPList(void) const {
  return SecurityIPList_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetZoneId(void) const {
  return ZoneId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetInstanceNetworkType(void) const {
  return InstanceNetworkType_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetVpcId(void) const {
  return VpcId_;
}

const string& DescribeDBInstanceAttributeResponse::DBInstanceAttribute::GetConnectionMode(void) const {
  return ConnectionMode_;
}

const std::vector<DescribeDBInstanceAttributeResponse::DBInstanceAttribute>& DescribeDBInstanceAttributeResponse::GetItems(void) const {
  return Items_;
}

const char* DescribeDBInstanceAttributeResponse::BaseKey(void) {
  return "DescribeDBInstanceAttributeResponse";
}

void DescribeDBInstanceAttributeResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeDBInstanceAttributeResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      int Items_i1_ReadOnlyDBInstanceIds__length = 0;
      UnmarshallerInt(Items_i1_ReadOnlyDBInstanceIds__length, response_map, "DescribeDBInstanceAttributeResponse.Items[+"+string_ValueOfInt(i1)+"].ReadOnlyDBInstanceIds.Length");
      if(Items_i1_ReadOnlyDBInstanceIds__length >= 0) {
        Items_[i1].ReadOnlyDBInstanceIds_.resize(Items_i1_ReadOnlyDBInstanceIds__length);
        for(int i2 = 0; i2 < Items_i1_ReadOnlyDBInstanceIds__length; i2++) {
          UnmarshallerString(Items_[i1].ReadOnlyDBInstanceIds_[i2].DBInstanceId_, response_map, "DescribeDBInstanceAttributeResponse.Items[+"+string_ValueOfInt(i1)+"].ReadOnlyDBInstanceIds["+string_ValueOfInt(i2)+"].DBInstanceId");
        } // for(int i2 = 0; i2 < Items_i1_ReadOnlyDBInstanceIds__length; i2++) {
      } // if(Items_i1_ReadOnlyDBInstanceIds__length >= 0) {

      UnmarshallerInt(Items_[i1].InsId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].InsId");
      UnmarshallerString(Items_[i1].DBInstanceId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceId");
      UnmarshallerString(Items_[i1].PayType_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].PayType");
      UnmarshallerString(Items_[i1].DBInstanceClassType_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceClassType");
      UnmarshallerString(Items_[i1].DBInstanceType_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceType");
      UnmarshallerString(Items_[i1].RegionId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(Items_[i1].ConnectionString_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].ConnectionString");
      UnmarshallerString(Items_[i1].Port_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].Port");
      UnmarshallerString(Items_[i1].Engine_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].Engine");
      UnmarshallerString(Items_[i1].EngineVersion_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].EngineVersion");
      UnmarshallerString(Items_[i1].DBInstanceClass_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceClass");
      UnmarshallerInt64(Items_[i1].DBInstanceMemory_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceMemory");
      UnmarshallerInt(Items_[i1].DBInstanceStorage_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceStorage");
      UnmarshallerString(Items_[i1].DBInstanceNetType_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceNetType");
      UnmarshallerString(Items_[i1].DBInstanceStatus_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceStatus");
      UnmarshallerString(Items_[i1].DBInstanceDescription_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceDescription");
      UnmarshallerString(Items_[i1].LockMode_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].LockMode");
      UnmarshallerString(Items_[i1].LockReason_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].LockReason");
      UnmarshallerString(Items_[i1].ReadDelayTime_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].ReadDelayTime");
      UnmarshallerInt(Items_[i1].DBMaxQuantity_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].DBMaxQuantity");
      UnmarshallerInt(Items_[i1].AccountMaxQuantity_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].AccountMaxQuantity");
      UnmarshallerString(Items_[i1].CreationTime_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].CreationTime");
      UnmarshallerString(Items_[i1].ExpireTime_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].ExpireTime");
      UnmarshallerString(Items_[i1].MaintainTime_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].MaintainTime");
      UnmarshallerString(Items_[i1].AvailabilityValue_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].AvailabilityValue");
      UnmarshallerInt(Items_[i1].MaxIOPS_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].MaxIOPS");
      UnmarshallerInt(Items_[i1].MaxConnections_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].MaxConnections");
      UnmarshallerString(Items_[i1].MasterInstanceId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].MasterInstanceId");
      UnmarshallerString(Items_[i1].IncrementSourceDBInstanceId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].IncrementSourceDBInstanceId");
      UnmarshallerString(Items_[i1].GuardDBInstanceId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].GuardDBInstanceId");
      UnmarshallerString(Items_[i1].TempDBInstanceId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].TempDBInstanceId");
      UnmarshallerString(Items_[i1].SecurityIPList_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].SecurityIPList");
      UnmarshallerString(Items_[i1].ZoneId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].ZoneId");
      UnmarshallerString(Items_[i1].InstanceNetworkType_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].InstanceNetworkType");
      UnmarshallerString(Items_[i1].VpcId_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].VpcId");
      UnmarshallerString(Items_[i1].ConnectionMode_, response_map, "DescribeDBInstanceAttributeResponse.Items["+string_ValueOfInt(i1)+"].ConnectionMode");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

}


} } // namespace aliyun { namespace Rds {

// end of file 
